package com.zr.planclass.service;

import com.sun.org.apache.regexp.internal.RE;
import com.zr.planclass.pojo.*;
import com.zr.qianduan.ResultVO;
import com.zr.util.AllRecords;
import com.zr.util.ResultVo;
import org.springframework.web.multipart.MultipartFile;

import javax.servlet.http.HttpServletResponse;
import java.util.List;

/**
 * Created by 86151 on 2019/6/14.
 */
public interface PlanClassService {
    ResultVo addPlanClass(List<PlanClassAddVo> planClassAddVoList);
    ResultVo<PlanClass> queryPlanClassById(Integer id);
    ResultVo<AllRecords> queryPage(PlanClassSelectVo planClassSelectVo);

    ResultVo updateStatus(PlanClassStatusVo planClassStatusVo);
    ResultVo updatePlanClass(PlanClassUpdateVo planClassUpdateVo);

    ResultVo importPlanClass(MultipartFile file) throws Exception;

    ResultVo exportExcel(HttpServletResponse resp, PlanClassSelectVo planClassSelectVo) throws  Exception;
}
